<%@ taglib uri="http://www.springframework.org/security/tags" prefix="security" %>

<div id="header" class='clearfix'>
  <div id='logo'><a href="/">kurancy<sup>&trade;</sup></a></div>
  
	<ul class="dropdown">
       	<li><a href="#">Menu</a>
       		<ul class="sub_menu">
       			<li id='myKurancyId'><a href='/myKurancy'>My Kurancy</a></li>
       			<security:authorize ifAnyGranted="ROLE_USER,ROLE_ADMIN">
				<li id='create_id'><a title='Create' href='/myKurancy/create'>Create</a></li>
				<li id='redeem_id'><a title='Redeem' href='/myKurancy/redeem'>Redeem</a></li>
				<li id='print_id'><a title='Print' href='/myKurancy/print'>Print</a></li>
				</security:authorize>
       		</ul>
       	</li>
       	<security:authorize ifAnyGranted="ROLE_USER,ROLE_ADMIN">
       	<li><a href='/logout'>Log Out</a></li>
       	</security:authorize>
	</ul>

</div> 